/*
 * Project: BoboDesignPattern
 * 
 * File Created at 2020年1月27日
 * 
 * Copyright 2012 Greenline.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Greenline Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Greenline.com.
 */
package test.practice;

import test.lesson9.leetcode.Test235;
import test.lesson9.leetcode.Test235.TreeNode;

/**
 * @Type A20200127_bfs_dfs
 * @Desc
 * @author 52489
 * @date 2020年1月27日
 * @Version V1.0
 */
public class A20200127_bfs_dfs {
    public static void main(String[] args) {
        TreeNode root = new Test235().new TreeNode(6);
        root.left = new Test235().new TreeNode(2);
        root.left.left = new Test235().new TreeNode(0);
        root.left.right = new Test235().new TreeNode(4);
        root.left.right.left = new Test235().new TreeNode(3);
        root.left.right.right = new Test235().new TreeNode(5);
        root.right = new Test235().new TreeNode(8);
        root.right.left = new Test235().new TreeNode(7);
        root.right.right = new Test235().new TreeNode(9);
    }

}
